package by.yativem.commons.utils.math;

public abstract class MathProvider {

	public static IMath<?> getMathInstance(Class<?> clazz){
		
		if(clazz.equals(Double.class) ){
			return new DoubleMath();
		}
		
		throw new IllegalArgumentException();
	}
}
